#include <sys/param.h>
#include <sys/mount.h>
#include <errno.h>
#include <string.h>
int main()
{

const char javapath[]="data/test/my";//need to be mounted

const char workstationpath[]="/export/home/testpgm/";
int flag;

if ((flag = mount("MNT_RDONLY",workstationpath,javapath)))
printf("PLEASE LOGIN SUPER SUER %s",strerror(errno));

return 0;
}
